﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
	xmlns:views="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Views.Toolkit"
	xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
	xmlns:inputToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
	xmlns:syscontrols="clr-namespace:System.Windows.Controls;assembly=System.Windows"
	xmlns:chartingToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit" 
	xmlns:visualizationToolkit="clr-namespace:System.Windows.Controls.DataVisualization;assembly=System.Windows.Controls.DataVisualization.Toolkit"
	xmlns:chartingPrimitivesToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting.Primitives;assembly=System.Windows.Controls.DataVisualization.Toolkit">

    <!--Global Resources-->
    
    <!--Page Brushes-->
    <LinearGradientBrush x:Key="PageFill" StartPoint="0,0" EndPoint="0,1">
        <GradientStop Color="#FF000000" Offset="0"/>
        <GradientStop Color="#FF888888" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="PageStroke" Color="#FF000000"/>
    <SolidColorBrush x:Key="PageForeground" Color="#FFFFFFFF"/>

    <!--Panel Brushes-->
    <SolidColorBrush x:Key="PanelFill" Color="#AA000000"/>
    <SolidColorBrush x:Key="PanelStroke" Color="#AA444444"/>

    <!-- Default style for System.Windows.Controls.Primitives.Thumb -->
    <Style x:Key="System.Windows.Controls.Thumb" TargetType="Thumb">
        <Setter Property="Background" Value="#FF444444"/>
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="IsTabStop" Value="False"/>
		<Setter Property="Cursor" Value="Hand"/>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF888888" Offset="0"/>
                    <GradientStop Color="#FF222222" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal"/>
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="LightFill" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Pressed">
                                    <Storyboard>
										<DoubleAnimation Duration="0" Storyboard.TargetName="LightFill" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity" To=".55"/>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused"/>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
						<Rectangle x:Name="BaseFill" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" RadiusX="2" RadiusY="2"/>
						<Rectangle x:Name="LightFill" RadiusX="2" RadiusY="2" Margin="2">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
									<GradientStop Color="#AAFFFFFF" Offset="0"/>
									<GradientStop Color="#22FFFFFF" Offset="0.5"/>
									<GradientStop Color="#00FFFFFF" Offset="0.51"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
                        <Rectangle x:Name="DisabledVisualElement" RadiusX="2" RadiusY="2" Fill="#FF888888" Opacity="0" IsHitTestVisible="false" />
                        <Rectangle x:Name="FocusVisualElement" RadiusX="2" RadiusY="2" Stroke="#FF888888" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="views:LinkLabel">
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="IsTabStop" Value="True"/>
		<Setter Property="Cursor" Value="Hand"/>
        <Setter Property="Foreground" Value="#FF000088"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:LinkLabel">
                    <Grid>
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal"/>
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="UnderlineText" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Pressed">
                                    <Storyboard>
										<DoubleAnimation Duration="0" Storyboard.TargetName="UnderlineText" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="DisabledText" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused"/>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
						<Rectangle x:Name="LightElement" RadiusX="2" RadiusY="2" Opacity="0" IsHitTestVisible="false" Fill="{TemplateBinding Background}" />
                        <TextBlock x:Name="Text" Text="{TemplateBinding Text}" Foreground="{TemplateBinding Foreground}" Opacity="1" IsHitTestVisible="true" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" Margin="4"/>
                        <TextBlock x:Name="UnderlineText" Text="{TemplateBinding Text}" Foreground="{TemplateBinding Foreground}" Opacity="0" IsHitTestVisible="true" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" TextDecorations="Underline" Margin="4"/>
                        <TextBlock x:Name="DisabledText" Text="{TemplateBinding Text}" Foreground="#FF888888" Opacity="0" IsHitTestVisible="true" TextAlignment="{TemplateBinding TextAlignment}" TextWrapping="{TemplateBinding TextWrapping}" TextDecorations="Underline" Margin="4"/>
                        <Rectangle x:Name="FocusVisualElement" RadiusX="2" RadiusY="2" Stroke="#FF888888" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Default style for System.Windows.Controls.Primitives.Thumb -->
    <Style TargetType="Thumb">
        <Setter Property="Background" Value="#FF000000"/>
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFA3AEB9" Offset="0"/>
                    <GradientStop Color="#FF8399A9" Offset="0.375"/>
                    <GradientStop Color="#FF718597" Offset="0.375"/>
                    <GradientStop Color="#FF617584" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Thumb">
                    <Grid>
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal"/>
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity" To="1"/>
                                        <ColorAnimation Duration="0" Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" To="#F2FFFFFF"/>
                                        <ColorAnimation Duration="0" Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" To="#CCFFFFFF"/>
                                        <ColorAnimation Duration="0" Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" To="#7FFFFFFF"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <ColorAnimation Duration="0" Storyboard.TargetName="Background" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#FF6DBDD1"/>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity" To="1"/>
                                        <ColorAnimation Duration="0" Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)" To="#D8FFFFFF"/>
                                        <ColorAnimation Duration="0" Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)" To="#C6FFFFFF"/>
                                        <ColorAnimation Duration="0" Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)" To="#8CFFFFFF"/>
                                        <ColorAnimation Duration="0" Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)" To="#3FFFFFFF"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity" To=".55"/>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused"/>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Border x:Name="Background" CornerRadius="2" Background="White" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}">
                            <Grid Background="{TemplateBinding Background}"  Margin="1">
                                <Border Opacity="0"  x:Name="BackgroundAnimation" Background="#FF448DCA" />
                                <Rectangle x:Name="BackgroundGradient" RadiusX="8" RadiusY="8">
                                    <Rectangle.Fill>
                                        <LinearGradientBrush StartPoint=".7,0" EndPoint=".7,1">
                                            <GradientStop Color="#FF000000" Offset="0" />
                                            <GradientStop Color="#F9444444" Offset="0.375" />
                                            <GradientStop Color="#E5888888" Offset="0.625" />
                                            <GradientStop Color="#C6000000" Offset="1" />
                                        </LinearGradientBrush>
                                    </Rectangle.Fill>
                                </Rectangle>
                            </Grid>
                        </Border>
                        <Rectangle x:Name="DisabledVisualElement" RadiusX="2" RadiusY="2" Fill="#FFFFFFFF" Opacity="0" IsHitTestVisible="false" />
                        <Rectangle x:Name="FocusVisualElement" RadiusX="1" RadiusY="1" Margin="1" Stroke="#FF6DBDD1" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Default style for System.Windows.Controls.Primitives.ScrollBar -->
    <Style x:Key="System.Windows.Controls.Primitives.ScrollBar" TargetType="ScrollBar">
        <Setter Property="MinWidth" Value="18"/>
        <Setter Property="MinHeight" Value="18"/>
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="ScrollBar">
                    <Grid x:Name="Root">
                        <Grid.Resources>

                            <!-- RepeatButton Templates -->
                            <ControlTemplate x:Key="RepeatButtonTemplate" TargetType="RepeatButton">
                                <Grid x:Name="Root" Background="Transparent">
                                    <vsm:VisualStateManager.VisualStateGroups>
                                        <vsm:VisualStateGroup x:Name="CommonStates">
                                            <vsm:VisualState x:Name="Normal" />
                                        </vsm:VisualStateGroup>
                                    </vsm:VisualStateManager.VisualStateGroups>
                                </Grid>
                            </ControlTemplate>

                            <!-- Horizontal Inc/Dec Templates -->
                            <ControlTemplate x:Key="HorizontalIncrementTemplate" TargetType="RepeatButton">
                                <Grid x:Name="Root">
                                    <vsm:VisualStateManager.VisualStateGroups>
                                        <vsm:VisualStateGroup x:Name="CommonStates">
                                            <vsm:VisualState x:Name="Normal" />
                                            <vsm:VisualState x:Name="MouseOver">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Pressed">
                                                <Storyboard>
													<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="BaseTranslate" Storyboard.TargetProperty="X" To="1"/>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="BaseTranslate" Storyboard.TargetProperty="Y" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Disabled">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0" Storyboard.TargetName="DisabledElement" Storyboard.TargetProperty="Opacity" To="1" />
                                                </Storyboard>
                                            </vsm:VisualState>
                                        </vsm:VisualStateGroup>
                                    </vsm:VisualStateManager.VisualStateGroups>
									<Grid.RenderTransform>
										<TranslateTransform x:Name="BaseTranslate" X="0" Y="0"/>
									</Grid.RenderTransform>
                                    <Ellipse x:Name="Bulb" Opacity="1" Stroke="#FF222222" StrokeThickness="1">
                                        <Ellipse.Fill>
                                            <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                                <GradientStop Color="#FF222222" Offset="0"/>
                                                <GradientStop Color="#FF666666" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Ellipse.Fill>
                                    </Ellipse>
                                    <Ellipse x:Name="Light" Opacity="0.5" Stroke="Transparent" StrokeThickness="0" Margin="2,2,2,8">
                                        <Ellipse.Fill>
                                            <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                                <GradientStop Color="#CCFFFFFF" Offset="0"/>
                                                <GradientStop Color="#44FFFFFF" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Ellipse.Fill>
                                    </Ellipse>
									<Path x:Name="Arrow" Width="10" Height="11" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF3A3A3A" Fill="#FFFFFFFF" Data="F1 M 93.2924,12.1414L 84.2924,7.14143L 84.2924,17.1414L 93.2924,12.1414 Z "/>
                                    <Ellipse x:Name="DisabledElement" Opacity="0" Stroke="#FF444444" StrokeThickness="1" Fill="#88444444"/>
                                </Grid>
                            </ControlTemplate>
                            <ControlTemplate x:Key="HorizontalDecrementTemplate" TargetType="RepeatButton">
                                <Grid x:Name="Root">
                                    <vsm:VisualStateManager.VisualStateGroups>
                                        <vsm:VisualStateGroup x:Name="CommonStates">
                                            <vsm:VisualState x:Name="Normal" />
                                            <vsm:VisualState x:Name="MouseOver">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Pressed">
                                                <Storyboard>
													<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="BaseTranslate" Storyboard.TargetProperty="X" To="1"/>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="BaseTranslate" Storyboard.TargetProperty="Y" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Disabled">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0" Storyboard.TargetName="DisabledElement" Storyboard.TargetProperty="Opacity" To="1" />
                                                </Storyboard>
                                            </vsm:VisualState>
                                        </vsm:VisualStateGroup>
                                    </vsm:VisualStateManager.VisualStateGroups>
									<Grid.RenderTransform>
										<TranslateTransform x:Name="BaseTranslate" X="0" Y="0"/>
									</Grid.RenderTransform>
                                    <Ellipse x:Name="Bulb" Opacity="1" Stroke="#FF222222" StrokeThickness="1">
                                        <Ellipse.Fill>
                                            <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                                <GradientStop Color="#FF222222" Offset="0"/>
                                                <GradientStop Color="#FF666666" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Ellipse.Fill>
                                    </Ellipse>
                                    <Ellipse x:Name="Light" Opacity="0.5" Stroke="Transparent" StrokeThickness="0" Margin="2,2,2,8">
                                        <Ellipse.Fill>
                                            <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                                <GradientStop Color="#CCFFFFFF" Offset="0"/>
                                                <GradientStop Color="#44FFFFFF" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Ellipse.Fill>
                                    </Ellipse>
									<Path x:Name="Arrow" Width="10" Height="11" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF444444" Fill="#FFFFFFFF" Data="F1 M 6.31534,12.1414L 15.3153,17.1414L 15.3153,7.14143L 6.31534,12.1414 Z "/>
                                    <Ellipse x:Name="DisabledElement" Opacity="0" Stroke="#FF444444" StrokeThickness="1" Fill="#88444444"/>
                                </Grid>
                            </ControlTemplate>

                            <!-- Vertical Inc/Dec Templates -->
                            <ControlTemplate x:Key="VerticalIncrementTemplate" TargetType="RepeatButton">
                                <Grid x:Name="Root">
                                    <vsm:VisualStateManager.VisualStateGroups>
                                        <vsm:VisualStateGroup x:Name="CommonStates">
                                            <vsm:VisualState x:Name="Normal" />
                                            <vsm:VisualState x:Name="MouseOver">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Pressed">
                                                <Storyboard>
													<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="BaseTranslate" Storyboard.TargetProperty="X" To="1"/>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="BaseTranslate" Storyboard.TargetProperty="Y" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Disabled">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0" Storyboard.TargetName="DisabledElement" Storyboard.TargetProperty="Opacity" To="1" />
                                                </Storyboard>
                                            </vsm:VisualState>
                                        </vsm:VisualStateGroup>
                                    </vsm:VisualStateManager.VisualStateGroups>
									<Grid.RenderTransform>
										<TranslateTransform x:Name="BaseTranslate" X="0" Y="0"/>
									</Grid.RenderTransform>
                                    <Ellipse x:Name="Bulb" Opacity="1" Stroke="#FF222222" StrokeThickness="1">
                                        <Ellipse.Fill>
                                            <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                                <GradientStop Color="#FF222222" Offset="0"/>
                                                <GradientStop Color="#FF666666" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Ellipse.Fill>
                                    </Ellipse>
                                    <Ellipse x:Name="Light" Opacity="0.5" Stroke="Transparent" StrokeThickness="0" Margin="2,2,2,8">
                                        <Ellipse.Fill>
                                            <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                                <GradientStop Color="#CCFFFFFF" Offset="0"/>
                                                <GradientStop Color="#44FFFFFF" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Ellipse.Fill>
                                    </Ellipse>
									<Path x:Name="Arrow" Width="11" Height="10" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF3A3A3A" Fill="#FFFFFFFF" Data="F1 M 11.8586,93.2923L 16.8586,84.2923L 6.85857,84.2923L 11.8586,93.2923 Z "/>
                                    <Ellipse x:Name="DisabledElement" Opacity="0" Stroke="#FF444444" StrokeThickness="1" Fill="#88444444"/>
                                </Grid>
                            </ControlTemplate>
                            <ControlTemplate x:Key="VerticalDecrementTemplate" TargetType="RepeatButton">
                                <Grid x:Name="Root">
                                    <vsm:VisualStateManager.VisualStateGroups>
                                        <vsm:VisualStateGroup x:Name="CommonStates">
                                            <vsm:VisualState x:Name="Normal" />
                                            <vsm:VisualState x:Name="MouseOver">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Pressed">
                                                <Storyboard>
													<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="BaseTranslate" Storyboard.TargetProperty="X" To="1"/>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="BaseTranslate" Storyboard.TargetProperty="Y" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Disabled">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0" Storyboard.TargetName="DisabledElement" Storyboard.TargetProperty="Opacity" To="1" />
                                                </Storyboard>
                                            </vsm:VisualState>
                                        </vsm:VisualStateGroup>
                                    </vsm:VisualStateManager.VisualStateGroups>
									<Grid.RenderTransform>
										<TranslateTransform x:Name="BaseTranslate" X="0" Y="0"/>
									</Grid.RenderTransform>
                                    <Ellipse x:Name="Bulb" Opacity="1" Stroke="#FF222222" StrokeThickness="1">
                                        <Ellipse.Fill>
                                            <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                                <GradientStop Color="#FF222222" Offset="0"/>
                                                <GradientStop Color="#FF666666" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Ellipse.Fill>
                                    </Ellipse>
                                    <Ellipse x:Name="Light" Opacity="0.5" Stroke="Transparent" StrokeThickness="0" Margin="2,2,2,8">
                                        <Ellipse.Fill>
                                            <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                                <GradientStop Color="#CCFFFFFF" Offset="0"/>
                                                <GradientStop Color="#44FFFFFF" Offset="1"/>
                                            </LinearGradientBrush>
                                        </Ellipse.Fill>
                                    </Ellipse>
									<Path x:Name="Arrow" Width="11" Height="10" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF3A3A3A" Fill="#FFFFFFFF" Data="F1 M 11.8586,6.31534L 6.85857,15.3153L 16.8586,15.3153L 11.8586,6.31534 Z "/>
                                    <Ellipse x:Name="DisabledElement" Opacity="0" Stroke="#FF444444" StrokeThickness="1" Fill="#88444444"/>
                                </Grid>
                            </ControlTemplate>

                            <!-- Thumb Templates -->
                            <ControlTemplate x:Key="VerticalThumbTemplate" TargetType="Thumb">
                                <Grid>
                                    <vsm:VisualStateManager.VisualStateGroups>
                                        <vsm:VisualStateGroup x:Name="CommonStates">
                                            <vsm:VisualState x:Name="Normal" />
                                            <vsm:VisualState x:Name="MouseOver">
                                                <Storyboard>
													<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
													<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="GelLight" Storyboard.TargetProperty="Opacity" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Pressed">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="GelLight" Storyboard.TargetProperty="Opacity" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Disabled">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0" Storyboard.TargetName="ThumbVisual" Storyboard.TargetProperty="Opacity" To="0" />
                                                </Storyboard>
                                            </vsm:VisualState>
                                        </vsm:VisualStateGroup>
                                    </vsm:VisualStateManager.VisualStateGroups>
                                    <Grid x:Name="ThumbVisual" Margin="1,0,1,0">
                                        <Rectangle x:Name="Background" RadiusX="4" RadiusY="4" Stroke="#FF222222" StrokeThickness="1">
                                            <Rectangle.Fill>
                                                <LinearGradientBrush EndPoint="0,0.5" StartPoint="1,0.5">
                                                    <GradientStop Color="#FF222222" Offset="0"/>
													<GradientStop Color="#FF666666" Offset="0"/>
                                                </LinearGradientBrush>
                                            </Rectangle.Fill>
                                        </Rectangle>
                                        <Rectangle x:Name="Light" RadiusX="4" RadiusY="4" Opacity="0.5" IsHitTestVisible="false" StrokeThickness="0" Margin="2,2,8,2">
											<Rectangle.Fill>
												<LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
													<GradientStop Color="#CCFFFFFF" Offset="0"/>
													<GradientStop Color="#44FFFFFF" Offset="1"/>
												</LinearGradientBrush>
											</Rectangle.Fill>
										</Rectangle>
                                        <Rectangle x:Name="GelLight" RadiusX="4" RadiusY="4" Opacity="0" IsHitTestVisible="false" StrokeThickness="0" Margin="0">
											<Rectangle.Fill>
												<LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
													<GradientStop Color="#CC004488" Offset="0"/>
													<GradientStop Color="#44004488" Offset="1"/>
												</LinearGradientBrush>
											</Rectangle.Fill>
										</Rectangle>
                                    </Grid>
                                </Grid>
                            </ControlTemplate>
                            <ControlTemplate x:Key="HorizontalThumbTemplate" TargetType="Thumb">
                                <Grid>
                                    <vsm:VisualStateManager.VisualStateGroups>
                                        <vsm:VisualStateGroup x:Name="CommonStates">
                                            <vsm:VisualState x:Name="Normal" />
                                            <vsm:VisualState x:Name="MouseOver">
                                                <Storyboard>
													<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
													<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="GelLight" Storyboard.TargetProperty="Opacity" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Pressed">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0" Storyboard.TargetName="Light" Storyboard.TargetProperty="Opacity" To="1"/>
													<DoubleAnimation Duration="0:0:0" Storyboard.TargetName="GelLight" Storyboard.TargetProperty="Opacity" To="1"/>
                                                </Storyboard>
                                            </vsm:VisualState>
                                            <vsm:VisualState x:Name="Disabled">
                                                <Storyboard>
                                                    <DoubleAnimation Duration="0:0:0" Storyboard.TargetName="ThumbVisual" Storyboard.TargetProperty="Opacity" To="0" />
                                                </Storyboard>
                                            </vsm:VisualState>
                                        </vsm:VisualStateGroup>
                                    </vsm:VisualStateManager.VisualStateGroups>
                                    <Grid x:Name="ThumbVisual" Margin="1,0,1,0">
                                        <Rectangle x:Name="Background" RadiusX="4" RadiusY="4" Stroke="#FF222222" StrokeThickness="1">
                                            <Rectangle.Fill>
                                                <LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1">
                                                    <GradientStop Color="#FF222222" Offset="0"/>
													<GradientStop Color="#FF666666" Offset="0"/>
                                                </LinearGradientBrush>
                                            </Rectangle.Fill>
                                        </Rectangle>
                                        <Rectangle x:Name="Light" RadiusX="4" RadiusY="4" Opacity="0.5" IsHitTestVisible="false" StrokeThickness="0" Margin="2,2,2,8">
											<Rectangle.Fill>
												<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
													<GradientStop Color="#CCFFFFFF" Offset="0"/>
													<GradientStop Color="#44FFFFFF" Offset="1"/>
												</LinearGradientBrush>
											</Rectangle.Fill>
										</Rectangle>
                                        <Rectangle x:Name="GelLight" RadiusX="4" RadiusY="4" Opacity="0" IsHitTestVisible="false" StrokeThickness="0" Margin="0">
											<Rectangle.Fill>
												<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
													<GradientStop Color="#CC004488" Offset="0"/>
													<GradientStop Color="#44004488" Offset="1"/>
												</LinearGradientBrush>
											</Rectangle.Fill>
										</Rectangle>
                                    </Grid>
                                </Grid>
                            </ControlTemplate>
                        </Grid.Resources>

                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal" />
                                <vsm:VisualState x:Name="MouseOver" />
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Storyboard.TargetName="Root" Storyboard.TargetProperty="Opacity" To="0.5" Duration="0" />
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>

                        <!-- Horizontal Template -->
                        <Grid x:Name="HorizontalRoot">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>

                            <!-- Track Layer -->
                            <Rectangle Grid.ColumnSpan="5" RadiusX="8" RadiusY="8" StrokeThickness="1" Stroke="#00000000">
                                <Rectangle.Fill>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <GradientStop Color="#FF222222" Offset="0"/>
                                        <GradientStop Color="#FF444444" Offset="1"/>
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>

                            <!-- Repeat Buttons + Thumb -->
                            <RepeatButton x:Name="HorizontalSmallDecrease" Grid.Column="0" Width="16" IsTabStop="False" Interval="50" Template="{StaticResource HorizontalDecrementTemplate}" Margin="1" />
                            <RepeatButton x:Name="HorizontalLargeDecrease" Grid.Column="1" Width="0" Template="{StaticResource RepeatButtonTemplate}" Interval="50" IsTabStop="False" />
                            <Thumb x:Name="HorizontalThumb" Background="{TemplateBinding Background}"  MinWidth="18" Width="18" Grid.Column="2" Template="{StaticResource HorizontalThumbTemplate}" />
                            <RepeatButton x:Name="HorizontalLargeIncrease" Grid.Column="3" Template="{StaticResource RepeatButtonTemplate}" Interval="50" IsTabStop="False" />
                            <RepeatButton x:Name="HorizontalSmallIncrease" Grid.Column="4" Width="16" IsTabStop="False" Interval="50" Template="{StaticResource HorizontalIncrementTemplate}" Margin="1" />
                        </Grid>

                        <!-- Vertical Template -->
                        <Grid x:Name="VerticalRoot" Visibility="Collapsed">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="*" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>

                            <!-- Track Layer -->
                            <Rectangle Grid.RowSpan="5" RadiusX="8" RadiusY="8" StrokeThickness="1" Stroke="#00000000">
                                <Rectangle.Fill>
                                    <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
                                        <GradientStop Color="#FF222222" Offset="0"/>
                                        <GradientStop Color="#FF444444" Offset="1"/>
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>

                            <!-- Repeat Buttons + Thumb -->
                            <RepeatButton x:Name="VerticalSmallDecrease" Grid.Row="0" Height="16" IsTabStop="False" Interval="50" Template="{StaticResource VerticalDecrementTemplate}" Margin="1" />
                            <RepeatButton x:Name="VerticalLargeDecrease" Grid.Row="1" Height="0" Template="{StaticResource RepeatButtonTemplate}" Interval="50" IsTabStop="False" />
                            <Thumb x:Name="VerticalThumb" MinHeight="18" Height="18" Grid.Row="2" Template="{StaticResource VerticalThumbTemplate}" />
                            <RepeatButton x:Name="VerticalLargeIncrease" Grid.Row="3" Template="{StaticResource RepeatButtonTemplate}" Interval="50" IsTabStop="False" />
                            <RepeatButton x:Name="VerticalSmallIncrease" Grid.Row="4" Height="16" IsTabStop="False" Interval="50" Template="{StaticResource VerticalIncrementTemplate}" Margin="1" />
                        </Grid>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Default style for System.Windows.Controls.Slider -->
    <Style x:Key="System.Windows.Controls.Slider" TargetType="Slider">
        <Setter Property="BorderThickness" Value="1" />
        <Setter Property="Maximum" Value="10" />
        <Setter Property="Minimum" Value="0" />
        <Setter Property="Value" Value="0" />
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFA3AEB9" Offset="0"/>
                    <GradientStop Color="#FF8399A9" Offset="0.375"/>
                    <GradientStop Color="#FF718597" Offset="0.375"/>
                    <GradientStop Color="#FF617584" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="IsTabStop" Value="False" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Slider">
                    <Grid x:Name="Root">
                        <Grid.Resources>
                            <ControlTemplate x:Key="RepeatButtonTemplate">
                                <Grid x:Name="Root" Opacity="0" Background="Transparent"/>
                            </ControlTemplate>
                        </Grid.Resources>
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal"/>
                                <vsm:VisualState x:Name="MouseOver"/>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HorizontalTrackRectangleDisabledOverlay" Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ThumbDisabledOverlay" Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="VerticalTrackRectangleDisabledOverlay" Storyboard.TargetProperty="Visibility" Duration="0">
                                            <DiscreteObjectKeyFrame KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>

                        <!-- Horizontal Template -->
                        <Grid x:Name="HorizontalTemplate" Background="{TemplateBinding Background}">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="*"/>
                            </Grid.ColumnDefinitions>

                            <!-- Track Layer -->
                            <Rectangle x:Name="TrackRectangle" Stroke="#FF444444" StrokeThickness="{TemplateBinding BorderThickness}" Fill="#FF222222" Grid.Column="0" Grid.ColumnSpan="3" Height="3" RadiusX="1" RadiusY="1" Margin="5,0,5,0" />
                            <Rectangle x:Name="HorizontalTrackRectangleDisabledOverlay" Visibility="Collapsed"  Fill="White" Opacity=".55" Grid.Column="0" Grid.ColumnSpan="3" Height="3" RadiusX="1" RadiusY="1" Margin="5,0,5,0" />
                            <!-- Repeat Buttons + Thumb -->
                            <RepeatButton x:Name="HorizontalTrackLargeChangeDecreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="0"/>
                            <Thumb Height="18" x:Name="HorizontalThumb" Template="{StaticResource System.Windows.Controls.Thumb}" Width="11" Grid.Column="1" IsTabStop="True"/>
                            <Rectangle x:Name="ThumbDisabledOverlay" RadiusX="2" RadiusY="2"  Width="11" Grid.Column="1" Fill="White" Opacity=".55" Visibility="Collapsed"/>
                            <RepeatButton x:Name="HorizontalTrackLargeChangeIncreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="2"/>
                        </Grid>

                        <!-- Vertical Template -->
                        <Grid x:Name="VerticalTemplate" Visibility="Collapsed" Background="{TemplateBinding Background}">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="*"/>
                                <RowDefinition Height="Auto"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>

                            <!-- Track Layer -->
                            <Rectangle Stroke="#FF444444" StrokeThickness="{TemplateBinding BorderThickness}" Fill="#FF222222" Grid.Row="0" Grid.RowSpan="3" Width="3" RadiusX="1" RadiusY="1" Margin="0,5,0,5" />
                            <Rectangle x:Name="VerticalTrackRectangleDisabledOverlay" Visibility="Collapsed"  Fill="White" Opacity=".55" Grid.Row="0" Grid.RowSpan="3" Width="3" RadiusX="1" RadiusY="1" Margin="0,5,0,5" />
                            <!-- Repeat Buttons + Thumb -->
                            <RepeatButton x:Name="VerticalTrackLargeChangeDecreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="2"/>
                            <Thumb Height="11" x:Name="VerticalThumb" Template="{StaticResource System.Windows.Controls.Thumb}" Width="18" Grid.Row="1" IsTabStop="True"/>
                            <RepeatButton x:Name="VerticalTrackLargeChangeIncreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="0"/>
                        </Grid>
                        
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Default style for System.Windows.Controls.ScrollViewer -->
    <Style x:Key="System.Windows.Controls.ScrollViewer" TargetType="syscontrols:ScrollViewer">
        <Setter Property="HorizontalContentAlignment" Value="Left" />
        <Setter Property="VerticalContentAlignment" Value="Top" />
        <Setter Property="VerticalScrollBarVisibility" Value="Visible" />
        <Setter Property="Padding" Value="4"/>
        <Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Background" Value="#FF222222"/>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                    <GradientStop Color="#FF222222" Offset="0"/>
                    <GradientStop Color="#FF666666" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="syscontrols:ScrollViewer">
                    <Border CornerRadius="8" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
                        <Grid Margin="4">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="*"/>
                                <RowDefinition Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="Auto"/>
                            </Grid.ColumnDefinitions>

                            <ScrollContentPresenter x:Name="ScrollContentPresenter"
                                                    Cursor="{TemplateBinding Cursor}"
                                                    Margin="{TemplateBinding Padding}"
                                                    ContentTemplate="{TemplateBinding ContentTemplate}"/>
                           <ScrollBar x:Name="VerticalScrollBar" Width="18"
										Style="{StaticResource System.Windows.Controls.Primitives.ScrollBar}"
                                       IsTabStop="False"
                                       Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}"
                                       Grid.Column="1" Grid.Row="0" Orientation="Vertical"
                                       ViewportSize="{TemplateBinding ViewportHeight}"
                                       Maximum="{TemplateBinding ScrollableHeight}"
                                       Minimum="0"
                                       Value="{TemplateBinding VerticalOffset}"
                                       Margin="0,-1,-1,-1"/>

                            <ScrollBar x:Name="HorizontalScrollBar" Height="18"
										Style="{StaticResource System.Windows.Controls.Primitives.ScrollBar}"
                                       IsTabStop="False"
                                       Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}"
                                       Grid.Column="0" Grid.Row="1" Orientation="Horizontal"
                                       ViewportSize="{TemplateBinding ViewportWidth}"
                                       Maximum="{TemplateBinding ScrollableWidth}"
                                       Minimum="0"
                                       Value="{TemplateBinding HorizontalOffset}"
                                       Margin="-1,0,-1,-1"/>

                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style TargetType="views:ControlProgress">
        <Setter Property="Visibility" Value="Collapsed"/>
		<Setter Property="MinWidth" Value="64"/>
		<Setter Property="MinHeight" Value="64"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:ControlProgress">
                    <Grid x:Name="Container">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Running">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0:0:1" Storyboard.TargetName="SpinRing" Storyboard.TargetProperty="Angle" To="360" RepeatBehavior="Forever"/>
                                        <DoubleAnimation Duration="0:0:1" Storyboard.TargetName="Flare" Storyboard.TargetProperty="Opacity" To="1" RepeatBehavior="Forever" AutoReverse="True"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="NotRunning">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="SpinRing" Storyboard.TargetProperty="Angle" To="0"/>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="Container" Storyboard.TargetProperty="Opacity" To="0"/>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="Flare" Storyboard.TargetProperty="Opacity" To="0"/>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
                        <Canvas x:Name="Disk" Width="64" Height="64" VerticalAlignment="Center" HorizontalAlignment="Center">
                            <Ellipse x:Name="Base" Width="64" Height="64" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" StrokeThickness="0.5" StrokeLineJoin="Round" Stroke="#CD131313">
                                <Ellipse.Fill>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <LinearGradientBrush.GradientStops>
                                            <GradientStop Color="#CD000000" Offset="0"/>
                                            <GradientStop Color="#CD444444" Offset="1"/>
                                        </LinearGradientBrush.GradientStops>
                                    </LinearGradientBrush>
                                </Ellipse.Fill>
                            </Ellipse>
                            <Ellipse x:Name="Light" Width="42" Height="32" Canvas.Left="11" Canvas.Top="1.25" Stretch="Fill">
                                <Ellipse.Fill>
                                    <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                                        <LinearGradientBrush.GradientStops>
                                            <GradientStop Color="#A4FFFFFF" Offset="0"/>
                                            <GradientStop Color="#15FFFFFF" Offset="1"/>
                                        </LinearGradientBrush.GradientStops>
                                    </LinearGradientBrush>
                                </Ellipse.Fill>
                            </Ellipse>
                        </Canvas>
                        <Canvas x:Name="Ring" Width="57" Height="57" Canvas.Left="3.5" Canvas.Top="3.5">
                            <Canvas.RenderTransform>
                                <RotateTransform x:Name="SpinRing" Angle="0" CenterX="28.5" CenterY="28.5"/>
                            </Canvas.RenderTransform>
                            <Path x:Name="InnerRing" Width="57" Height="57" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF002100" Data="F1 M 28.5,0.5C 43.964,0.5 56.5,13.036 56.5,28.5C 56.5,43.964 43.964,56.5 28.5,56.5C 13.036,56.5 0.5,43.964 0.5,28.5C 0.5,13.036 13.036,0.5 28.5,0.5 Z M 28.5,6.5C 16.3497,6.5 6.5,16.3497 6.5,28.5C 6.5,40.6503 16.3497,50.5 28.5,50.5C 40.6503,50.5 50.5,40.6503 50.5,28.5C 50.5,16.3497 40.6503,6.5 28.5,6.5 Z ">
                                <Path.Fill>
                                    <LinearGradientBrush StartPoint="-0.00892857,0.5" EndPoint="1.00893,0.5">
                                        <LinearGradientBrush.GradientStops>
                                            <GradientStop Color="#FF006432" Offset="0"/>
                                            <GradientStop Color="#FF00C800" Offset="0.258197"/>
                                            <GradientStop Color="#FFFFFFFF" Offset="0.495902"/>
                                            <GradientStop Color="#FF00C800" Offset="0.77459"/>
                                            <GradientStop Color="#FF006432" Offset="1"/>
                                        </LinearGradientBrush.GradientStops>
                                    </LinearGradientBrush>
                                </Path.Fill>
                            </Path>
                            <Path x:Name="Flare" Opacity="0.2" Width="57" Height="57" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" StrokeLineJoin="Round" Stroke="#CD00FF00" Data="F1 M 28.5,0.5C 43.964,0.5 56.5,13.036 56.5,28.5C 56.5,43.964 43.964,56.5 28.5,56.5C 13.036,56.5 0.5,43.964 0.5,28.5C 0.5,13.036 13.036,0.5 28.5,0.5 Z M 28.5,6.5C 16.3497,6.5 6.5,16.3497 6.5,28.5C 6.5,40.6503 16.3497,50.5 28.5,50.5C 40.6503,50.5 50.5,40.6503 50.5,28.5C 50.5,16.3497 40.6503,6.5 28.5,6.5 Z ">
                                <Path.Fill>
                                    <LinearGradientBrush StartPoint="-0.00892857,0.5" EndPoint="1.00893,0.5">
                                        <LinearGradientBrush.GradientStops>
                                            <GradientStop Color="#29FFFFFF" Offset="0"/>
                                            <GradientStop Color="#FFFFFFFF" Offset="0.5"/>
                                            <GradientStop Color="#29FFFFFF" Offset="1"/>
                                        </LinearGradientBrush.GradientStops>
                                    </LinearGradientBrush>
                                </Path.Fill>
                            </Path>
                        </Canvas>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--Default Style for Lumina.Windows.Controls.StackView-->
    <Style TargetType="views:StackView">
        <Setter Property="Foreground" Value="#000000"/>
        <Setter Property="Padding" Value="8"/>
        <Setter Property="BorderThickness" Value="2"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
		<Setter Property="IsTabStop" Value="True"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:StackView">
                    <Border CornerRadius="8" 
			                BorderBrush="{TemplateBinding BorderBrush}"
			                BorderThickness="{TemplateBinding BorderThickness}">
                        <ScrollViewer x:Name="ScrollViewer" Padding="{TemplateBinding Padding}" Background="{TemplateBinding Background}" BorderBrush="Transparent" BorderThickness="0" Style="{StaticResource System.Windows.Controls.ScrollViewer}">
							<ItemsPresenter/>
                        </ScrollViewer>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--Default Style for Lumina.Windows.Controls.StackViewItem-->
    <Style TargetType="views:StackViewItem">
        <Setter Property="Background" Value="#FFFFFFFF"/>
        <Setter Property="Foreground" Value="#FF000000"/>
        <Setter Property="Padding" Value="3"/>
        <Setter Property="BorderThickness" Value="2"/>
		<Setter Property="Cursor" Value="Hand"/>
		<Setter Property="MinHeight" Value="64"/>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFFFFFFF" Offset="0"/>
                    <GradientStop Color="#FF448DCA" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:StackViewItem">
                    <Grid x:Name="Root" Margin="2">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal"/>
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="BaseFill" Storyboard.TargetProperty="Opacity" To="0.5"/>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="LightGradient" Storyboard.TargetProperty="Opacity" To="1"/>
										<DoubleAnimation Duration="0:0:0.5" Storyboard.TargetName="GlowGradient" Storyboard.TargetProperty="Opacity" To="0.75" RepeatBehavior="Forever" AutoReverse="True"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="LightGradient" Storyboard.TargetProperty="Opacity" To="1"/>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="SelectionFill" Storyboard.TargetProperty="Opacity" To="0.5"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity" To=".55"/>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused" />
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
						<Rectangle x:Name="BaseFill" RadiusX="8" RadiusY="8" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{TemplateBinding BorderBrush}" Opacity="0">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".7,0" EndPoint=".7,1">
									<GradientStop Color="#FF448DCA" Offset="0" />
									<GradientStop Color="#FFFFFFFF" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="SelectionFill" RadiusX="8" RadiusY="8" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{TemplateBinding BorderBrush}" Opacity="0">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".5,0" EndPoint=".5,1">
									<GradientStop Color="#FFFFAA00" Offset="0" />
									<GradientStop Color="#FFFFFF00" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="GlowGradient" StrokeThickness="2" RadiusX="8" RadiusY="8" Opacity="0">
							<Rectangle.Fill>
								<RadialGradientBrush RadiusX="0.5" RadiusY="0.8" Center="0.5,0.5" GradientOrigin="0.5,0.5">
									<GradientStop Color="#FF448DCA" Offset="0"/>
									<GradientStop Color="#66448DCA" Offset="1"/>
								</RadialGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="LightGradient" RadiusX="8" RadiusY="8" Opacity="0.2" Margin="2,2,2,32">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".5,0" EndPoint=".5,1">
									<GradientStop Color="#CCFFFFFF" Offset="0" />
									<GradientStop Color="#22FFFFFF" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
                        <ContentPresenter
                                x:Name="contentPresenter"
                                Content="{TemplateBinding Content}"
                                ContentTemplate="{TemplateBinding ContentTemplate}"
                                HorizontalAlignment="Left"
                                Margin="{TemplateBinding Padding}"/>
						<Rectangle x:Name="DisabledVisualElement" RadiusX="8" RadiusY="8" Fill="#FF888888" Opacity="0" IsHitTestVisible="false" />
						<Rectangle x:Name="FocusVisualElement" RadiusX="8" RadiusY="8" Margin="1" Stroke="#FF448DCA" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--Default Style for Lumina.Windows.Controls.TileView-->
    <Style TargetType="views:TileView">
        <Setter Property="Foreground" Value="#FFFFFFFF"/>
        <Setter Property="Padding" Value="0"/>
        <Setter Property="BorderThickness" Value="2"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:TileView">
                    <Border CornerRadius="8" 
			                BorderBrush="{TemplateBinding BorderBrush}"
			                BorderThickness="{TemplateBinding BorderThickness}">
                        <ScrollViewer x:Name="ScrollViewer" Padding="{TemplateBinding Padding}" Background="{TemplateBinding Background}" BorderBrush="Transparent" BorderThickness="0" Style="{StaticResource System.Windows.Controls.ScrollViewer}">
							<ItemsPresenter/>
                        </ScrollViewer>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
		<Setter Property="ItemsPanel">
			<Setter.Value>
			  <ItemsPanelTemplate>
				<views:TilePanel VerticalAlignment="Top" HorizontalAlignment="Left" TileWidth="200" TileHeight="200" TileSpacing="8"/>
			  </ItemsPanelTemplate>
			</Setter.Value>
		 </Setter>
    </Style>

    <!--Default Style for Lumina.Windows.Controls.TileViewItem-->
    <Style TargetType="views:TileViewItem">
        <Setter Property="Background" Value="#FFFFFFFF"/>
        <Setter Property="Foreground" Value="#FF000000"/>
        <Setter Property="Padding" Value="3"/>
        <Setter Property="BorderThickness" Value="2"/>
		<Setter Property="Cursor" Value="Hand"/>
		<Setter Property="MinHeight" Value="200"/>
		<Setter Property="MinWidth" Value="200"/>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFFFFFFF" Offset="0"/>
                    <GradientStop Color="#FF448DCA" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:TileViewItem">
                    <Grid x:Name="Root" Margin="2">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal"/>
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="BaseFill" Storyboard.TargetProperty="Opacity" To="1"/>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="LightGradient" Storyboard.TargetProperty="Opacity" To="1"/>
										<DoubleAnimation Duration="0:0:0.5" Storyboard.TargetName="GlowGradient" Storyboard.TargetProperty="Opacity" To="0.75" RepeatBehavior="Forever" AutoReverse="True"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="LightGradient" Storyboard.TargetProperty="Opacity" To="1"/>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="SelectionFill" Storyboard.TargetProperty="Opacity" To="0.5"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity" To=".55"/>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused" />
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
						<Rectangle x:Name="BaseFill" RadiusX="8" RadiusY="8" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{TemplateBinding BorderBrush}" Opacity="0">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".7,0" EndPoint=".7,1">
									<GradientStop Color="#FF448DCA" Offset="0" />
									<GradientStop Color="#FFFFFFFF" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="SelectionFill" RadiusX="8" RadiusY="8" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{TemplateBinding BorderBrush}" Opacity="0">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".5,0" EndPoint=".5,1">
									<GradientStop Color="#FFFF0000" Offset="0" />
									<GradientStop Color="#FFFFFF00" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="GlowGradient" StrokeThickness="2" RadiusX="8" RadiusY="8" Opacity="0">
							<Rectangle.Fill>
								<RadialGradientBrush RadiusX="0.5" RadiusY="0.8" Center="0.5,0.5" GradientOrigin="0.5,0.5">
									<GradientStop Color="#66448DCA" Offset="0"/>
									<GradientStop Color="#FF448DCA" Offset="1"/>
								</RadialGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="LightGradient" RadiusX="8" RadiusY="8" Opacity="0.2" Margin="2,2,2,48">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".5,0" EndPoint=".5,1">
									<GradientStop Color="#CCFFFFFF" Offset="0" />
									<GradientStop Color="#22FFFFFF" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
                        <ContentPresenter
                                x:Name="contentPresenter"
                                Content="{TemplateBinding Content}"
                                ContentTemplate="{TemplateBinding ContentTemplate}"
                                HorizontalAlignment="Center"
                                Margin="{TemplateBinding Padding}"/>
						<Rectangle x:Name="DisabledVisualElement" RadiusX="8" RadiusY="8" Fill="#FF444444" Opacity="0" IsHitTestVisible="false" />
						<Rectangle x:Name="FocusVisualElement" RadiusX="8" RadiusY="8" Margin="1" Stroke="#FF00121F" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--Default Style for Lumina.Windows.Controls.CloudView-->
    <Style TargetType="views:CloudView">
        <Setter Property="Foreground" Value="#FF000000"/>
        <Setter Property="Padding" Value="8"/>
        <Setter Property="Background">
			<Setter.Value>
				<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
					<GradientStop Color="#FFACD9FF" Offset="0"/>
					<GradientStop Color="#FFFFFFFF" Offset="1"/>
				</LinearGradientBrush>
			</Setter.Value>
		</Setter>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush" Value="#FF448DCA"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:CloudView">
					<Grid>
                        <Grid.Resources>
							<!-- Invisible RepeatButton Template -->
                            <ControlTemplate x:Key="TipButtonTemplate" TargetType="RepeatButton">
                                <Grid x:Name="Root" Background="Transparent">
                                    <vsm:VisualStateManager.VisualStateGroups>
                                        <vsm:VisualStateGroup x:Name="CommonStates">
                                            <vsm:VisualState x:Name="Normal" />
                                        </vsm:VisualStateGroup>
                                    </vsm:VisualStateManager.VisualStateGroups>
                                </Grid>
                            </ControlTemplate>
						</Grid.Resources>

						<Grid.RowDefinitions>
							<RowDefinition Height="*"/>
							<RowDefinition Height="32"/>
						</Grid.RowDefinitions>
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="32"/>
							<ColumnDefinition Width="*"/>
						</Grid.ColumnDefinitions>
						<Path x:Name="RelevancyArrow" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF272727" Data="F1 M 16.1658,600L 0,572L 11.1658,572L 11.1658,28L 0,28L 16.1658,0L 32.3316,28L 21.1658,28L 21.1658,572L 32.3316,572L 16.1658,600 Z " Grid.Column="0" Margin="4">
							<Path.Fill>
								<LinearGradientBrush StartPoint="0.534824,1.01725e-007" EndPoint="0.534824,1">
									<LinearGradientBrush.GradientStops>
										<GradientStop Color="#FF00C800" Offset="0.237705"/>
										<GradientStop Color="#FF5F5F5F" Offset="0.815574"/>
									</LinearGradientBrush.GradientStops>
								</LinearGradientBrush>
							</Path.Fill>
						</Path>
						<RepeatButton x:Name="TopAxisZone" VerticalAlignment="Top" HorizontalAlignment="Stretch" Width="32" Height="100" MaxHeight="100" ToolTipService.ToolTip="More Relevant" Template="{StaticResource TipButtonTemplate}" Grid.Column="0" Grid.Row="0"/>
						<RepeatButton x:Name="BottomAxisZone" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Width="32" Height="100" MaxHeight="100" ToolTipService.ToolTip="Less Relevant" Template="{StaticResource TipButtonTemplate}" Grid.Column="0" Grid.Row="0"/>
						<Rectangle RadiusX="8" RadiusY="8" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" Grid.Row="0" Grid.Column="1"/>
						<ScrollViewer x:Name="ScrollViewer" Padding="{TemplateBinding Padding}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Style="{StaticResource System.Windows.Controls.ScrollViewer}" Grid.Row="0" Grid.Column="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
							<ItemsPresenter x:Name="presenter"/>
						</ScrollViewer>
						<Grid x:Name="BottomAxis" Grid.Column="1" Grid.Row="1">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="Auto"/>
								<ColumnDefinition Width="*"/>
								<ColumnDefinition Width="Auto"/>
							</Grid.ColumnDefinitions>
							<TextBlock x:Name="AxisLeftLabel" Text="Left Label" Foreground="Black" Grid.Column="0" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="4"/>
							<Grid Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center">
								<Grid.ColumnDefinitions>
									<ColumnDefinition Width="Auto"/>
									<ColumnDefinition Width="Auto"/>
									<ColumnDefinition Width="Auto"/>
									<ColumnDefinition Width="Auto"/>
								</Grid.ColumnDefinitions>
								<TextBlock x:Name="XSortLabel" Foreground="Black" TextAlignment="Right" Text="Sort Items Horizontally by:" Margin="2" Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"/>
								<ComboBox x:Name="AxisSelector" Foreground="Black" Height="24" Width="200" Grid.Column="1" Margin="0,2,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
								<Slider x:Name="MagSlider" Width="128" Minimum="1" Maximum="16" Value="1" Grid.Column="2" Margin="2"/>
								<TextBlock x:Name="MagLabel" Text="100%" Foreground="Black" FontFamily="Arial" FontWeight="Bold" FontSize="14" Grid.Column="3" Margin="4" HorizontalAlignment="Center" VerticalAlignment="Center"/>
							</Grid>
							<TextBlock x:Name="AxisRightLabel" Text="Right Label" Foreground="Black" Grid.Column="2" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="4"/>
						</Grid>
					</Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
		<Setter Property="ItemsPanel">
			<Setter.Value>
			  <ItemsPanelTemplate>
				<views:CloudPanel x:Name="CloudPanel" Background="Transparent" VerticalAlignment="Top" HorizontalAlignment="Left" TileWidth="96" TileHeight="96"/>
			  </ItemsPanelTemplate>
			</Setter.Value>
		</Setter>
    </Style>

    <!--Default Style for Lumina.Windows.Controls.CloudViewItem-->
    <Style TargetType="views:CloudViewItem">
        <Setter Property="Background" Value="#FFFFFFFF"/>
        <Setter Property="Foreground" Value="#FF000000"/>
        <Setter Property="Padding" Value="3"/>
        <Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Cursor" Value="Hand"/>
		<Setter Property="MinHeight" Value="96"/>
		<Setter Property="MinWidth" Value="96"/>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF448DCA" Offset="0"/>
                    <GradientStop Color="#FFFFFFFF" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:CloudViewItem">
                    <Grid x:Name="Root" Margin="2">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal"/>
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="BaseFill" Storyboard.TargetProperty="Opacity" To="0.5"/>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="LightGradient" Storyboard.TargetProperty="Opacity" To="1"/>
										<DoubleAnimation Duration="0:0:0.5" Storyboard.TargetName="GlowGradient" Storyboard.TargetProperty="Opacity" To="0.75" RepeatBehavior="Forever" AutoReverse="True"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="LightGradient" Storyboard.TargetProperty="Opacity" To="1"/>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="SelectionFill" Storyboard.TargetProperty="Opacity" To="0.5"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity" To=".55"/>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused" />
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
						<Rectangle x:Name="BaseFill" RadiusX="8" RadiusY="8" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{TemplateBinding BorderBrush}" Opacity="0.2">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".7,0" EndPoint=".7,1">
									<GradientStop Color="#FF448DCA" Offset="0" />
									<GradientStop Color="#FFFFFFFF" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="SelectionFill" RadiusX="8" RadiusY="8" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{TemplateBinding BorderBrush}" Opacity="0">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".5,0" EndPoint=".5,1">
									<GradientStop Color="#FFFFAA00" Offset="0" />
									<GradientStop Color="#FFFFFF00" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="GlowGradient" StrokeThickness="2" RadiusX="8" RadiusY="8" Opacity="0">
							<Rectangle.Fill>
								<RadialGradientBrush RadiusX="0.5" RadiusY="0.8" Center="0.5,0.5" GradientOrigin="0.5,0.5">
									<GradientStop Color="#66448DCA" Offset="0"/>
									<GradientStop Color="#FF448DCA" Offset="1"/>
								</RadialGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="LightGradient" RadiusX="8" RadiusY="8" Opacity="0.2" Margin="2,2,2,48">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".5,0" EndPoint=".5,1">
									<GradientStop Color="#CCFFFFFF" Offset="0" />
									<GradientStop Color="#22FFFFFF" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
                        <ContentPresenter
                                x:Name="contentPresenter"
                                Content="{TemplateBinding Content}"
                                ContentTemplate="{TemplateBinding ContentTemplate}"
                                HorizontalAlignment="Center"
                                Margin="{TemplateBinding Padding}"/>
						<Rectangle x:Name="DisabledVisualElement" RadiusX="8" RadiusY="8" Fill="#FF888888" Opacity="0" IsHitTestVisible="false" />
						<Rectangle x:Name="FocusVisualElement" RadiusX="8" RadiusY="8" Margin="1" Stroke="#FF448DCA" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--Default Style for Lumina.Windows.Controls.BandCloudViewItem-->
    <Style TargetType="views:BandCloudViewItem">
        <Setter Property="Background" Value="#FFFFFFFF"/>
        <Setter Property="Foreground" Value="#FF000000"/>
        <Setter Property="Padding" Value="3"/>
        <Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Cursor" Value="Hand"/>
		<Setter Property="MinHeight" Value="96"/>
		<Setter Property="MinWidth" Value="96"/>
        <Setter Property="BorderBrush" Value="#FF448DCA"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:BandCloudViewItem">
                    <Grid x:Name="Root" Margin="2">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal"/>
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="BaseFill" Storyboard.TargetProperty="Opacity" To="1"/>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="LightGradient" Storyboard.TargetProperty="Opacity" To="1"/>
										<DoubleAnimation Duration="0:0:0.5" Storyboard.TargetName="GlowGradient" Storyboard.TargetProperty="Opacity" To="0.75" RepeatBehavior="Forever" AutoReverse="True"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="LightGradient" Storyboard.TargetProperty="Opacity" To="1"/>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="SelectionFill" Storyboard.TargetProperty="Opacity" To="0.5"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity" To=".55"/>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused" />
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
						<Rectangle x:Name="BaseFill" RadiusX="8" RadiusY="8" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{TemplateBinding BorderBrush}" Opacity="0.2">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".7,0" EndPoint=".7,1">
									<GradientStop Color="#FF448DCA" Offset="0" />
									<GradientStop Color="#FFFFFFFF" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="SelectionFill" RadiusX="8" RadiusY="8" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{TemplateBinding BorderBrush}" Opacity="0">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".5,0" EndPoint=".5,1">
									<GradientStop Color="#FFFFAA00" Offset="0" />
									<GradientStop Color="#FFFFFF00" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="GlowGradient" StrokeThickness="2" RadiusX="8" RadiusY="8" Opacity="0">
							<Rectangle.Fill>
								<RadialGradientBrush RadiusX="0.5" RadiusY="0.8" Center="0.5,0.5" GradientOrigin="0.5,0.5">
									<GradientStop Color="#66448DCA" Offset="0"/>
									<GradientStop Color="#FF448DCA" Offset="1"/>
								</RadialGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="LightGradient" RadiusX="8" RadiusY="8" Opacity="0.2" Margin="2,2,2,48">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint=".5,0" EndPoint=".5,1">
									<GradientStop Color="#CCFFFFFF" Offset="0" />
									<GradientStop Color="#22FFFFFF" Offset="1" />
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
                        <ContentPresenter
                                x:Name="contentPresenter"
                                Content="{TemplateBinding Content}"
                                ContentTemplate="{TemplateBinding ContentTemplate}"
                                HorizontalAlignment="Center"
                                Margin="{TemplateBinding Padding}"/>
						<Rectangle x:Name="DisabledVisualElement" RadiusX="8" RadiusY="8" Fill="#FF888888" Opacity="0" IsHitTestVisible="false" />
						<Rectangle x:Name="FocusVisualElement" RadiusX="8" RadiusY="8" Margin="1" Stroke="#FF448DCA" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--Default Style for Lumina.Windows.Controls.BandCloudView-->
    <Style TargetType="views:BandCloudView">
        <Setter Property="Background">
			<Setter.Value>
				<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
					<GradientStop Color="#FFACD9FF" Offset="0"/>
					<GradientStop Color="#FFFFFFFF" Offset="1"/>
				</LinearGradientBrush>
			</Setter.Value>
		</Setter>
        <Setter Property="Foreground" Value="#FF000000"/>
        <Setter Property="Padding" Value="8"/>
        <Setter Property="BorderThickness" Value="2"/>
        <Setter Property="BorderBrush" Value="#FF448DCA"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:BandCloudView">
					<Grid>
                        <Grid.Resources>
							<!-- Invisible RepeatButton Template -->
                            <ControlTemplate x:Key="TipButtonTemplate" TargetType="RepeatButton">
                                <Grid x:Name="Root" Background="Transparent">
                                    <vsm:VisualStateManager.VisualStateGroups>
                                        <vsm:VisualStateGroup x:Name="CommonStates">
                                            <vsm:VisualState x:Name="Normal" />
                                        </vsm:VisualStateGroup>
                                    </vsm:VisualStateManager.VisualStateGroups>
                                </Grid>
                            </ControlTemplate>
						</Grid.Resources>

						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="32"/>
							<ColumnDefinition Width="*"/>
						</Grid.ColumnDefinitions>
						<Path x:Name="RelevancyArrow" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF272727" Data="F1 M 16.1658,600L 0,572L 11.1658,572L 11.1658,28L 0,28L 16.1658,0L 32.3316,28L 21.1658,28L 21.1658,572L 32.3316,572L 16.1658,600 Z " Grid.Column="0" Margin="4">
							<Path.Fill>
								<LinearGradientBrush StartPoint="0.534824,1.01725e-007" EndPoint="0.534824,1">
									<LinearGradientBrush.GradientStops>
										<GradientStop Color="#FF00C800" Offset="0.237705"/>
										<GradientStop Color="#FF5F5F5F" Offset="0.815574"/>
									</LinearGradientBrush.GradientStops>
								</LinearGradientBrush>
							</Path.Fill>
						</Path>
						<RepeatButton x:Name="TopAxisZone" VerticalAlignment="Top" HorizontalAlignment="Stretch" Width="32" Height="100" MaxHeight="100" ToolTipService.ToolTip="More Relevant" Template="{StaticResource TipButtonTemplate}" Grid.Column="0"/>
						<RepeatButton x:Name="BottomAxisZone" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Width="32" Height="100" MaxHeight="100" ToolTipService.ToolTip="Less Relevant" Template="{StaticResource TipButtonTemplate}" Grid.Column="0"/>
						<Border CornerRadius="8" 
								BorderBrush="{TemplateBinding BorderBrush}"
								BorderThickness="{TemplateBinding BorderThickness}" Grid.Column="1">
							<ScrollViewer x:Name="ScrollViewer" Padding="{TemplateBinding Padding}" Background="{TemplateBinding Background}" BorderBrush="Transparent" BorderThickness="0" Style="{StaticResource System.Windows.Controls.ScrollViewer}">
								<ItemsPresenter/>
							</ScrollViewer>
	                    </Border>
					</Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
		<Setter Property="ItemsPanel">
			<Setter.Value>
			  <ItemsPanelTemplate>
				<views:BandCloudPanel VerticalAlignment="Top" HorizontalAlignment="Left" TileWidth="96" TileHeight="96" TileSpacing="8"/>
			  </ItemsPanelTemplate>
			</Setter.Value>
		</Setter>
    </Style>

    <!--Default Style for Lumina.Windows.Controls.Toolbar-->
    <Style TargetType="views:Toolbar">
        <Setter Property="Foreground" Value="#FFFFFFFF"/>
        <Setter Property="Padding" Value="3"/>
        <Setter Property="BorderThickness" Value="1"/>
		<Setter Property="Cursor" Value="Hand"/>
		<Setter Property="MinHeight" Value="32"/>
		<Setter Property="CornerRadius" Value="4,4,0,0"/>
		<Setter Property="Background">
			<Setter.Value>
                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                    <GradientStop Color="#FF444444" Offset="0"/>
					<GradientStop Color="#FF222222" Offset="0.5"/>
					<GradientStop Color="#FF000000" Offset="0.51"/>
                    <GradientStop Color="#FF222222" Offset="1"/>
                </LinearGradientBrush>
			</Setter.Value>
		</Setter>
        <Setter Property="BorderBrush" Value="#FF444444"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:Toolbar">
                    <Grid x:Name="Root" Margin="0">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal"/>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity" To=".55"/>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused" />
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
						<Border x:Name="BaseFill" CornerRadius="{TemplateBinding CornerRadius}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" Opacity="1"/>
						<ItemsPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"/>
						<Rectangle x:Name="DisabledVisualElement" RadiusX="4" RadiusY="4" Fill="#FF444444" Opacity="0" IsHitTestVisible="false" />
						<Rectangle x:Name="FocusVisualElement" RadiusX="4" RadiusY="4" Margin="1" Stroke="#FF888888" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
		<Setter Property="ItemsPanel">
			<Setter.Value>
			  <ItemsPanelTemplate>
				<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0"/>
			  </ItemsPanelTemplate>
			</Setter.Value>
		</Setter>
    </Style>

	<!--Lumina.Windows.Controls.ToolbarButton (Command)-->
    <Style TargetType="views:ToolbarButton">
        <Setter Property="Foreground" Value="#FFFFFFFF"/>
        <Setter Property="Padding" Value="2"/>
        <Setter Property="BorderThickness" Value="2"/>
		<Setter Property="MinHeight" Value="24"/>
		<Setter Property="MinWidth" Value="24"/>
		<Setter Property="IsTabStop" Value="True"/>
		<Setter Property="Margin" Value="2"/>
		<Setter Property="Background">
			<Setter.Value>
                <LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
                    <GradientStop Color="#FF444444" Offset="0"/>
					<GradientStop Color="#FF222222" Offset="0.5"/>
					<GradientStop Color="#FF000000" Offset="0.51"/>
                    <GradientStop Color="#FF222222" Offset="1"/>
                </LinearGradientBrush>
			</Setter.Value>
		</Setter>
        <Setter Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF000000" Offset="0"/>
                    <GradientStop Color="#FF444444" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:ToolbarButton">
                    <Grid x:Name="Root" Margin="0">
                        <vsm:VisualStateManager.VisualStateGroups>
                            <vsm:VisualStateGroup x:Name="CommonStates">
                                <vsm:VisualState x:Name="Normal"/>
                                <vsm:VisualState x:Name="MouseOver">
                                    <Storyboard>
										<DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="BaseFill" Storyboard.TargetProperty="Opacity" To="1"/>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="LightFill" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0:0:0.25" Storyboard.TargetName="SelectionFill" Storyboard.TargetProperty="Opacity" To="1"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity" To=".55"/>
                                    </Storyboard>
                                </vsm:VisualState>
                            </vsm:VisualStateGroup>
                            <vsm:VisualStateGroup x:Name="FocusStates">
                                <vsm:VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity" To="0.5"/>
                                    </Storyboard>
                                </vsm:VisualState>
                                <vsm:VisualState x:Name="Unfocused" />
                            </vsm:VisualStateGroup>
                        </vsm:VisualStateManager.VisualStateGroups>
						<Rectangle x:Name="BaseFill" RadiusX="4" RadiusY="4" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{TemplateBinding BorderBrush}" Fill="{TemplateBinding Background}" Opacity="0"/>
						<Rectangle x:Name="LightFill" RadiusX="4" RadiusY="4" Opacity="0" Margin="2,2,2,8">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
									<GradientStop Color="#AAFFFFFF" Offset="0"/>
									<GradientStop Color="#22FFFFFF" Offset="1"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<Rectangle x:Name="SelectionFill" RadiusX="4" RadiusY="4" Opacity="0" StrokeThickness="1" Stroke="#FF003D6F">
							<Rectangle.Fill>
								<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
									<GradientStop Color="#FF003D6F" Offset="0"/>
									<GradientStop Color="#FF448DCA" Offset="1"/>
								</LinearGradientBrush>
							</Rectangle.Fill>
						</Rectangle>
						<views:ResourceControl x:Name="Symbol" VerticalAlignment="Center" HorizontalAlignment="Center"/>
						<ContentPresenter
								x:Name="contentPresenter"
								Content="{TemplateBinding Content}"
								ContentTemplate="{TemplateBinding ContentTemplate}"
								HorizontalAlignment="Center"
								VerticalAlignment="Center"
								Margin="0"/>
						<Rectangle x:Name="DisabledVisualElement" RadiusX="4" RadiusY="4" Fill="#FF888888" Opacity="0" IsHitTestVisible="false" />
						<Rectangle x:Name="FocusVisualElement" RadiusX="4" RadiusY="4" Stroke="#FF888888" StrokeThickness="1" Opacity="0" IsHitTestVisible="false" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

	<!--Lumina.Windows.Controls.ToolbarSeparator-->
    <Style TargetType="views:ToolbarSeperator">
        <Setter Property="Foreground" Value="#FFFFFFFF"/>
        <Setter Property="Padding" Value="2"/>
        <Setter Property="BorderThickness" Value="2"/>
		<Setter Property="Cursor" Value="Hand"/>
		<Setter Property="MinHeight" Value="20"/>
		<Setter Property="MinWidth" Value="8"/>
		<Setter Property="IsTabStop" Value="True"/>
		<Setter Property="Background" Value="Transparent"/>
        <Setter Property="BorderBrush" Value="Transparent"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="views:ToolbarSeperator">
                    <Grid x:Name="Root">
						<Rectangle x:Name="LineFill" StrokeThickness="1" Opacity="1" Width="0.5" MaxWidth="0.5">
							<Rectangle.Stroke>
								<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
									<GradientStop Color="#00444444" Offset="0"/>
									<GradientStop Color="#AA888888" Offset="0.5"/>
									<GradientStop Color="#00444444" Offset="1"/>
								</LinearGradientBrush>
							</Rectangle.Stroke>
						</Rectangle>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>    
